import request from '@/utils/request'

// 注册方法
export function register(username, password, phone, email, registrationDate, avatar) {
  const data = {
    username,
    password,
    phone,
    email,
    registrationDate,
    avatar
  }
  return request({
    url: '/register',
    method: 'post',
    data: data
  })
}
}
